package io.renren.modules.courseTest.dao;

import io.renren.modules.courseTest.entity.ChooseTestCommentEntity;
import io.renren.modules.courseTest.entity.ChooseTestEntity;
import io.renren.modules.courseTest.entity.UserChooseTestInfo;

import java.util.List;
import java.util.Map;

public interface courseTestDao {
    List getCourseTestIdList(Map map);

    ChooseTestEntity getOneCourseTest(int id);

    String getTestAnswer(int id);

    int getFraction(int id);

    List getAllCourseTest(Map map);

    void insertCourseTestComment(ChooseTestCommentEntity chooseTestCommentEntity);

    void deleteCourseTestComment(Map map);

    List getCourseTestComment(Map params);

    void addUserChooseTestInfo(UserChooseTestInfo userChooseTestInfo);

    void updateUserChooseTestInfo(UserChooseTestInfo userChooseTestInfo);

    UserChooseTestInfo getUserChooseTestInfo(Map map);
}
